<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 
<head>
 
<title>Login</title>
 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
	<style type="text/css" media="screen">
 		label{
 			display:block;
 			font-family: arial;
 			font-size: 11px;
 		}
 	
 		input[type=text], input[type=password]{
 			width: 150px;
 		}
 		
 		input[type=submit], form a{
 			font-size: 12px;
 			padding: 4px;
 			border: 1px solid #006;
    		background: #ffc;
 			width: 75px;
 			text-decoration: none;
 			stroke: 1px solid;
 			color: #000000;
		}
 	
 		#registreer{
 			text-align: center;
 		}
 	</style>
</head>
 
<body>
	<div id="registreer">
		<h1>Registreren</h1>
		
		<?php echo validation_errors() ?>
		
 		<?php echo form_open('registreer/voegtoe') ?> 
 		<label for="username">Gebruikersnaam</label>
 		<?php echo form_input('username', set_value('username')) ?>
 		<br />
 		
 		<?php echo $gebruikersnaambestaat; ?>
 		
 		<label for="password">Wachtwoord</label>
 		<?php echo form_password('password', set_value('password')) ?>
 		
 		<label for="password">Wachtwoord bevestiging</label>
 		<?php echo form_password('pass2',set_value('pass2')) ?>
 		
 		<label for="email">Emailadres</label>
 		<?php echo form_input('email',set_value('email')) ?> 
 		
 		<label for="landnaam">Landnaam</label>
 		<?php echo form_input('landnaam',set_value('landnaam')) ?> 
 		
 		<label for="kant">Kant</label>
 		<?php 
 		$options = array(
 			'Axis' => 'Axis',
 			'Allies' => 'Allies'
	 	);
 		
 		echo form_dropdown('kant', $options, 'Allies') ?>
 		
 		
 		<br /><br />
 		
 		<?php echo form_submit('submit', 'Registreren') ?>
 		<?php echo form_close() ?>
 	</div>
</body>
</html>